crPEExportToHTML

The crPEExportToHTML function exports a print job to HTML format.

Declare Function crPEExportToHTML Lib "crwrap32.dll" (ByVal printJob As 
Integer, ByVal htmlType As Integer, ByVal fileName As String) As Integer
Parameters

printJob

Specifies the handle of the print job that you want to export.

htmlType

Specifies the type of HTML format you want to export to. Select the format type you want to use from the table below:

To export a report in this HTML format Use this htmlType


HTML3

crUXFHTML3Type


Internet Explorer 2.0

crUXFExplorer2Type


Netscape 2.0

crUXFNetscapeType

fileName

Specifies the name of the exported file.

Return Value

TRUE (1) if the call is successful, FALSE (0) if the call fails.

Remarks


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com